class Student:
    def __init__(self,name,age,scores):
        self.name=name
        self.age=age
        self.scores=scores
    def get_name(self):
        return self.name
    def get_age(self):
        return self.age
    def get_maxscore(self):
        return max(self.scores)
zm=Student('zhangming',20,[69,88,100])
print('学生姓名为：',zm.name,"年龄为：",zm.age,"最高分是：",zm.get_maxscore())

class Animal:
    def __init__(self,name,age):
        self.name=name
        self.age=age
    def run(self):
        print("姓名：",self.name,"年龄：",self.age)

class Dog(Animal):
    def __init__(self,color):
        self.color=color
    def run(self):
        print("狗狗是",self.color,"的")
class Cat(Animal):
    def __init__(self,color):
        self.color=color
    def run(self):
        print("猫猫是", self.color, "的")
dog1=Animal("Tom",1)
cat1=Animal("mimi",2)
dog1.run()
cat1.run()
